package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 培训班与类型关联对象 danmo_training_type_relation
 *
 * @author yangle
 * @date 2024-10-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoTrainingTypeRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    private Long id;

    /** 培训班ID */
    @Excel(name = "培训班ID")
    private Long trainingInformationId;

    /** 类型ID */
    @Excel(name = "类型ID")
    private Long trainingTypeId;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setTrainingInformationId(Long trainingInformationId)
//    {
//        this.trainingInformationId = trainingInformationId;
//    }
//
//    public Long getTrainingInformationId()
//    {
//        return trainingInformationId;
//    }
//    public void setTrainingTypeId(Long trainingTypeId)
//    {
//        this.trainingTypeId = trainingTypeId;
//    }
//
//    public Long getTrainingTypeId()
//    {
//        return trainingTypeId;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainingInformationId", getTrainingInformationId())
            .append("trainingTypeId", getTrainingTypeId())
            .toString();
    }
}
